package com.imooc.diners.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * \* @author: bear
 * \* Date: 2021-07-10-21:35
 * \* describe:
 */
@RestController
@RequestMapping("hello")
public class HelloController {

	@GetMapping
	public String hello(String name){
		return "hello" +name;
	}
}
